Component({
  options: {
    styleIsolation: 'apply-shared'
  },

  properties: {
    isSucc: Boolean
  },

  methods: {
    handleNoticeTap() {
      if (this.data.isSucc) {
        wx.navigateBack()
      } else {
        this.triggerEvent('changeSucc', false)
      }
    }
  }
})
